package com.gym.client;

import com.gym.vo.EquipmentVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

//@FeignClient(name = "equipment-provider")
@FeignClient(name = "gateway",path = "/equipment-provider",contextId = "equipment-provider")
public interface EquipmentClient {

    @GetMapping("/sel_equipment")
    public List<EquipmentVo> sel_equipment(@RequestParam int pageIndex);

}
